Execute the Report Task

Argos automatically adds the “Execute the report” task to the list of tasks. If you would like to enter parameters to be used when running the schedule, double-click on the Execute the report task or select this task and click Edit.

If you have set the AutoSelect property of a list or drop-down object to “yes” in the datablock, then the very first entry in the list or drop down will be used as the value when running the schedule.

Location of the Auto Select Property within the list of properties on the datablock.

Otherwise, you need to enter the values to be used for each parameter on the form.
The edit dialog for the report execution task. The edit screen shows the main form for the datablock, a list of the controls on the form, and a drop down that determines how values are populated within each control.

Select a parameter in the box in the lower left corner, then use the “Populate value by” dropdown to specify the value for this variable. The available choices depend on the type of field.

Populate Value By Description
Do not save selected value(s) Use for data-aware fields where you want the value to be calculated at run time.
By value or chosen record(s) Specify a value or choose a specific item from a list.
Always select the first record Select the first item in a list.
Always select the last record Select the last item in a list.
Offset report run date by Enter a number of days, weeks, months, or years to offset the run date by.

 

Clicking one of the input fields will activate the corresponding object name (in this case DropDown1 and DropDown2).

How to select the method for populating the input selection objects. Use the populate value by... drop down

The option selected for If report query has no records determines how reports with zero results will be handled.

The dialog that sets the option for what to do if a report query returns no records.

Click OK when finished. These parameters will be used when the scheduled report executes.

 

Return to Editing Schedules - Tasks